package com.shpping.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {
	
	@RequestMapping("index")
	public String index() {
		return "index";
	}
//	@RequestMapping("shop-cart")
//	public String shopCart() {
//		return "web/shop-cart";
//	}
//
//	@RequestMapping("contact-1")
//	public String contact() {
//		return "web/contact-1"; 
//	}
//	@RequestMapping("dangao")
//	public String dangao() {
//		return "web/dangao"; 
//	}
//	
	@RequestMapping("test")
	@ResponseBody
	public String test() {
		return "hello";  
	}


}
